package cn.txm.order.mapper;

import cn.txm.basic.mapper.BaseMapper;
import cn.txm.order.domain.AdoptOrder;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.Date;

@Component
public interface AdoptOrderMapper extends BaseMapper<AdoptOrder>{
    /**
     * 根据业务主键修改订单数据
     * @param id
     * @param paySn
     * @param lastConfirmTime
     */
    void updateStateAndPaySn(@Param("id")Long id, @Param("paySn")String paySn, @Param("lastConfirmTime")Date lastConfirmTime);
}
